package com.duoec.demo.dubbo.dto.response;

import java.io.Serializable;

/**
 * 文章实体
 *
 * @author xuwenzhen
 * @date 2020/1/4
 */
public class Article implements Serializable {
    /**
     * 文章ID
     *
     * @demo 12
     */
    private Long id;

    /**
     * 文章标题
     *
     * @demo 这是一篇好文章呀
     */
    private String title;

    /**
     * 文章内容
     *
     * @demo 非常非常好的文章，这里省略一万字...
     */
    private String context;

    /**
     * 文章分类ID
     *
     * @demo 123
     */
    private Integer cateId;

    /**
     * 文章封面图
     *
     * @demo http://qiniu.com/abc.jpg
     */
    private String image;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Integer getCateId() {
        return cateId;
    }

    public void setCateId(Integer cateId) {
        this.cateId = cateId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}
